package service

import (
	pb "go_template/proto"

	"golang.org/x/net/context"
)

type EchoService struct {
}

func NewEchoService() *EchoService {
	return &EchoService{}
}

// GetAccountSalt 获取账号的salt
func (es *EchoService) Echo(c context.Context, req *pb.EchoRequest) (reply *pb.EchoReply, err error) {
	return &pb.EchoReply{req.Echo}, nil
}
